\hypertarget{cm_utils_8cpp}{\section{C\-:/\-Users/\-Owner/\-My Programming/\-Personal Projects/\-Video\-Games/\-Optimist Racing/src/cm\-Utils.cpp File Reference}
\label{cm_utils_8cpp}\index{C\-:/\-Users/\-Owner/\-My Programming/\-Personal Projects/\-Video\-Games/\-Optimist Racing/src/cm\-Utils.\-cpp@{C\-:/\-Users/\-Owner/\-My Programming/\-Personal Projects/\-Video\-Games/\-Optimist Racing/src/cm\-Utils.\-cpp}}
}
{\ttfamily \#include \char`\"{}cm\-Utils.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}cm\-Globals.\-hpp\char`\"{}}\\*
{\ttfamily \#include $<$math.\-h$>$}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{cm_utils_8cpp_a28644899f40a817d6d98ec8786779279}{u\-\_\-set\-\_\-component} (double xdir, double ydir, double value, double \&curx, double \&cury)
\item 
double \hyperlink{cm_utils_8cpp_a4d53bf44639df04895b9479ed5d15d63}{u\-\_\-get\-\_\-component} (double xdir, double ydir, double curx, double cury)
\item 
double \hyperlink{cm_utils_8cpp_ac9b8a524998d84ec4f617d9ef33ea738}{u\-\_\-smallest\-\_\-positive\-\_\-quadratic\-\_\-solution} (double a, double b, double c)
\item 
void \hyperlink{cm_utils_8cpp_a757cc82d00695ed7b19bb310ee2008d5}{u\-\_\-draw\-\_\-tiles} (A\-L\-L\-E\-G\-R\-O\-\_\-\-B\-I\-T\-M\-A\-P $\ast$b, int x, int y)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{cm_utils_8cpp_a757cc82d00695ed7b19bb310ee2008d5}{\index{cm\-Utils.\-cpp@{cm\-Utils.\-cpp}!u\-\_\-draw\-\_\-tiles@{u\-\_\-draw\-\_\-tiles}}
\index{u\-\_\-draw\-\_\-tiles@{u\-\_\-draw\-\_\-tiles}!cmUtils.cpp@{cm\-Utils.\-cpp}}
\subsubsection[{u\-\_\-draw\-\_\-tiles}]{\setlength{\rightskip}{0pt plus 5cm}void u\-\_\-draw\-\_\-tiles (
\begin{DoxyParamCaption}
\item[{A\-L\-L\-E\-G\-R\-O\-\_\-\-B\-I\-T\-M\-A\-P $\ast$}]{b, }
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)}}\label{cm_utils_8cpp_a757cc82d00695ed7b19bb310ee2008d5}
\hypertarget{cm_utils_8cpp_a4d53bf44639df04895b9479ed5d15d63}{\index{cm\-Utils.\-cpp@{cm\-Utils.\-cpp}!u\-\_\-get\-\_\-component@{u\-\_\-get\-\_\-component}}
\index{u\-\_\-get\-\_\-component@{u\-\_\-get\-\_\-component}!cmUtils.cpp@{cm\-Utils.\-cpp}}
\subsubsection[{u\-\_\-get\-\_\-component}]{\setlength{\rightskip}{0pt plus 5cm}double u\-\_\-get\-\_\-component (
\begin{DoxyParamCaption}
\item[{double}]{xdir, }
\item[{double}]{ydir, }
\item[{double}]{curx, }
\item[{double}]{cury}
\end{DoxyParamCaption}
)}}\label{cm_utils_8cpp_a4d53bf44639df04895b9479ed5d15d63}
\hypertarget{cm_utils_8cpp_a28644899f40a817d6d98ec8786779279}{\index{cm\-Utils.\-cpp@{cm\-Utils.\-cpp}!u\-\_\-set\-\_\-component@{u\-\_\-set\-\_\-component}}
\index{u\-\_\-set\-\_\-component@{u\-\_\-set\-\_\-component}!cmUtils.cpp@{cm\-Utils.\-cpp}}
\subsubsection[{u\-\_\-set\-\_\-component}]{\setlength{\rightskip}{0pt plus 5cm}void u\-\_\-set\-\_\-component (
\begin{DoxyParamCaption}
\item[{double}]{xdir, }
\item[{double}]{ydir, }
\item[{double}]{value, }
\item[{double \&}]{curx, }
\item[{double \&}]{cury}
\end{DoxyParamCaption}
)}}\label{cm_utils_8cpp_a28644899f40a817d6d98ec8786779279}
\hypertarget{cm_utils_8cpp_ac9b8a524998d84ec4f617d9ef33ea738}{\index{cm\-Utils.\-cpp@{cm\-Utils.\-cpp}!u\-\_\-smallest\-\_\-positive\-\_\-quadratic\-\_\-solution@{u\-\_\-smallest\-\_\-positive\-\_\-quadratic\-\_\-solution}}
\index{u\-\_\-smallest\-\_\-positive\-\_\-quadratic\-\_\-solution@{u\-\_\-smallest\-\_\-positive\-\_\-quadratic\-\_\-solution}!cmUtils.cpp@{cm\-Utils.\-cpp}}
\subsubsection[{u\-\_\-smallest\-\_\-positive\-\_\-quadratic\-\_\-solution}]{\setlength{\rightskip}{0pt plus 5cm}double u\-\_\-smallest\-\_\-positive\-\_\-quadratic\-\_\-solution (
\begin{DoxyParamCaption}
\item[{double}]{a, }
\item[{double}]{b, }
\item[{double}]{c}
\end{DoxyParamCaption}
)}}\label{cm_utils_8cpp_ac9b8a524998d84ec4f617d9ef33ea738}
